package com.usian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.pojo.Zhanghao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

import javax.websocket.server.PathParam;

@Mapper
public interface ZhanghaoMapper extends BaseMapper<Zhanghao> {

    @Select("select * from zhanghao where name='${name}' and mima='${mima}'")
    public  Zhanghao denglu(@Param("name") String name, @Param("mima") String mima);
}
